package com.youedata.modular.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youedata.modular.entity.WaterCutOffNoticeInfo;
import com.youedata.modular.mapper.JhTravelInfoMapper;
import com.youedata.modular.mapper.WaterCutOffNoticeInfoMapper;
import com.youedata.modular.service.ITravelInfoImgRelService;
import  com.youedata.modular.service.IWaterCutOffNoticeInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 停水公告表 服务实现类
 * </p>
 *
 * @author hst
 * @date 2021-07-26
 */
@Service
@Transactional(rollbackFor = Exception.class)

public class WaterCutOffNoticeInfoServiceImpl extends ServiceImpl<WaterCutOffNoticeInfoMapper, WaterCutOffNoticeInfo> implements IWaterCutOffNoticeInfoService {

    @SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
    @Autowired
    private WaterCutOffNoticeInfoMapper waterCutOffNoticeInfoMapper;

    @Override
    public List queryTypeFuzzy(Page page,String type) {
        return waterCutOffNoticeInfoMapper.queryTypeFuzzy(page, type);
    }
}

